package app.vendorportal.api.marketplace.data.request;

import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

/**
 * @author vince
 */
@XmlRootElement(name = "query-product-price-request")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryProductPriceRequest {

    @NotNull
    @XmlElement(name = "last-update-time")
    private Date lastUpdateTime;

    @XmlElement(name = "vendor-number")
    private String vendorNumber;

    @XmlElement(name = "offset")
    private Integer offset;

    @XmlElement(name = "fetch-size")
    private Integer fetchSize;

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getVendorNumber() {
        return vendorNumber;
    }

    public void setVendorNumber(String vendorNumber) {
        this.vendorNumber = vendorNumber;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getFetchSize() {
        return fetchSize;
    }

    public void setFetchSize(Integer fetchSize) {
        this.fetchSize = fetchSize;
    }
}
